package com.tjetc.service.impl;

import com.tjetc.dao.ClassifyMapper;
import com.tjetc.domain.Classify;
import com.tjetc.service.ClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ClassifyServiceImpl implements ClassifyService {
    @Autowired
    private ClassifyMapper classifyMapper;
    @Override
    public List<Classify> classifyAll() {
        return classifyMapper.classifyAll();
    }

    @Override
    public List<Classify> classifyFind(Map<String, Object> params) {
        return classifyMapper.classifyFind(params);
    }

    @Override
    public int countClassifyFind(Map<String, Object> params) {
        return classifyMapper.countClassifyFind(params);
    }

    @Override
    public int countRowsInTable() {
        return classifyMapper.countRowsInTable();
    }
}
